package com.gpnu.crm.query;


import org.springframework.util.StringUtils;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class QueryObject {
	private int currentPage = 1; //默认查询第一页
	private int pageSize = 3; //默认每页显示3行数据
	private String keyword;//关键字
	private String orderby;
	
    public String getKeyword() {
        return StringUtils.hasLength(keyword) ? keyword : null;
    }

}
